package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsFlashPromotionProductRelation;
import com.mall.model.domain.SmsFlashPromotionSession;

import java.util.Date;
import java.util.List;

/**
 * @author xyiaao
 * @description 针对表【sms_flash_promotion_session(限时购场次表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface SmsFlashPromotionSessionApi extends IService<SmsFlashPromotionSession> {


    void updateFlash(Integer id, SmsFlashPromotionSession smsFlashPromotion);

    List<SmsFlashPromotionProductRelation> productCount(Integer flashPromotionId);

    List<SmsFlashPromotionSession> findByCreateTime(Date startDate, Date endDate);

}
